package com.gyz.cfmall.search;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;

/**
 * @SpringBootApplication(exclude = DataSourceAutoConfiguration.class)：禁止 SpringBoot 自动注入数据源配置。
 * @param  :
 * @return
 */
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
@EnableDiscoveryClient
@EnableFeignClients
@EnableRedisHttpSession
public class CfmallSearchApplication {

    public static void main(String[] args) {
        SpringApplication.run(CfmallSearchApplication.class, args);
    }

}
